package com.fifth.home;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @ProjectName: mrcai
 * @Package: com.fifth.home
 * @ClassName: HomeApplication
 * @Author: 王振华
 * @Description:
 * @Date: 2022/9/1 10:11
 * @Version: 1.0
 */
@EnableScheduling //开启定时器
@SpringBootApplication
@EnableSwagger2
@EnableFeignClients
@MapperScan(basePackages = "com.fifth.home.mapper")
@ComponentScan(basePackages = {"com.fifth.common.config","com.fifth.home"})
public class HomeApplication {
    public static void main(String[] args) {
        SpringApplication.run(HomeApplication.class,args);
    }
}
